package com.panshi.qa.provider.modules.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="用户收藏对象", description="")
public class UserCollect implements Serializable {

    @ApiModelProperty("收藏表ID")
    private Long id;

    @ApiModelProperty("关联ID(文章,问题)")
    private Long tId;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("收藏类型")
    private Integer type;
}
